package com.newway.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.newway.common.context.UserInfo;
import com.newway.common.result.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("member")
public class Member extends BaseEntity {

    @TableId
    private Integer id;

    private String userId;

    private String info;

    private String status;//0申请中 1已通过 2已拒绝

    private String rsn;//拒绝原因

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
